package com.bsj.power.job.task;

import org.springframework.stereotype.Service;

/**
 * @author yinhao
 * @version 1.0
 * @description
 * @date 2024/8/7
 */
@Service
public interface RunAllService {
    /**
     * 启动
     **/
    void init();
    /**
     * 停止
     **/
    void stop();
    /**
     * 执行对象
     **/
    void doRun(Object object) throws Exception;
    /**
     * 执行字节码
     */
    void doPush(byte[] bytes) throws Exception;
}
